operator(+) Interface

public interface operator(+)

Module Procedures

private function csr_mtx_add(a, b) result(rst)

Adds two CSR matrices.

Arguments

Type IntentOptional Attributes Name
class(csr_matrix), intent(in) :: a

The first CSR matrix.

class(csr_matrix), intent(in) :: b

The second CSR matrix.

Return Value type(csr_matrix)

The resulting CSR matrix.